package edu.fight.constant;

public enum Constant {
    CACHE_NAME_AUTHENTICATION("bamAuthenticationCache","认证缓存"),
    CACHE_NAME_AUTHORIZATION("bamAuthorizationCache","授权缓存");

    private String cacheCode;
    private String cacheName;

    Constant(String cacheCode, String cacheName) {
        this.cacheCode=cacheCode;
        this.cacheName=cacheName;
    }

    public String getCacheCode() {
        return cacheCode;
    }

    public String getCacheName() {
        return cacheName;
    }
}
